<?php
/**
 * Created by PhpStorm.
 * User: xionghao
 * Date: 2017/10/17
 * Time: 14:47
 */

namespace app\meeting\model;


use think\Model;

class MeetTougaoModel extends Model
{
    protected $autoWriteTimestamp = true;
    protected $table = 'cmf_meet_tougao';

    public function user(){
        return $this->hasOne('User','id','create_uid')->bind('user_nickname');
    }
    public function meet(){
        return $this->hasOne('MeetModel','id','mid')->bind('name');

    }

}